/*
 * PJLIB settings.
 */

/* Disable floating point support */
#define PJ_HAS_FLOATING_POINT       0

#define PJ_IOQUEUE_MAX_HANDLES      4

#define PJ_TERM_HAS_COLOR           0
#define PJ_SOCK_HAS_IPV6_V6ONLY     0
#define PJ_SOCK_HAS_INET_ATON       1
#define PJ_SOCK_HAS_INET_PTON       1
#define PJ_SOCK_HAS_INET_NTOP       1
#define PJ_SOCK_HAS_GETADDRINFO     0
#define PJ_HAS_SOCKLEN_T            1

#define PJSIP_UDP_SO_SNDBUF_SIZE    4000
#define PJSIP_UDP_SO_RCVBUF_SIZE    2000

/*
 * PJMEDIA settings
 */

/* Select codecs to disable */
#define PJMEDIA_HAS_L16_CODEC       0
#define PJMEDIA_HAS_ILBC_CODEC      0

#define PJMEDIA_HAS_G722_CODEC  0
#define PJMEDIA_HAS_ILBC_CODEC  0
#define PJMEDIA_HAS_GSM_CODEC   0

#define PJMEDIA_HAS_SRTP            0
#define PJMEDIA_HAS_ILBC_CODEC      0
#define PJMEDIA_HAS_GSM_CODEC       0
#define PJMEDIA_HAS_L16_CODEC       0

#define PJMEDIA_HAS_SPEEX_AEC 0
#define PJMEDIA_HAS_SPEEX_CODEC 0
#define PJMEDIA_SPEEX_AEC_USE_AGC   0

#define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO     0
#define PJMEDIA_AUDIO_DEV_HAS_WMME          0
#define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO     0
#define PJMEDIA_AUDIO_DEV_HAS_ALSA          0
#define PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO    0
#define PJMEDIA_AUDIO_DEV_HAS_RT_AUDIO      1
/*
 * PJSIP settings.
 */
/* Set maximum number of dialog/transaction/calls to minimum to reduce
 * memory usage
 */
#define PJSIP_MAX_TSX_COUNT         1
#define PJSIP_MAX_DIALOG_COUNT      1

/*
 * PJSUA settings
 */
#define PJSUA_MAX_CALLS             1
#define PJSUA_DEFAULT_CODEC_QUALITY 1

/* Set maximum number of objects to minimum to reduce memory usage */
#define PJSUA_MAX_ACC               1
#define PJSUA_MAX_PLAYERS           2
#define PJSUA_MAX_RECORDERS         2
#define PJSUA_MAX_CONF_PORTS        (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS)
#define PJSUA_MAX_BUDDIES           32

#define PJSUA_POOL_LEN      4096
#define PJSUA_POOL_LEN_ACC  4096
#define PJ_LOG_MAX_LEVEL    4
